package br.usp.pcs.lta.adapgame;

import java.util.ArrayList;
import java.util.Scanner;

public class ModuloTeste1 {
	
	private int num;
	private String sentenca;
	private ArrayList<String> lista;
	
	public ModuloTeste1 (){
		
		this.lista = new ArrayList<String>();
		this.sentenca = "Sentenca Teste ";
		
	}
	
	public void roda(){
		String temp;
		Scanner scan = new Scanner (System.in);
		scan.useDelimiter("\r\n|\n");
		System.out.println("Digite numero: ");
		this.num = scan.nextInt();
		for (int i=0; i<=num; i++){
			temp = this.sentenca + i;
			this.lista.add(i, temp);
		}
		for (int i=0; i<=num; i++){
			temp = this.lista.get(i);
			System.out.println(temp);
		}
	}

}
